package com.elegantmall.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.elegantmall.pojo.SellerPojo;
import com.elegantmall.pojo.UserPojo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface SellerDao extends BaseMapper<SellerPojo> {
    @Select("SELECT * FROM seller")
    List<SellerPojo> getAllSellers();
}
